package com.example.usharingtest.model;

import java.io.Serializable;
import java.util.Date;

public class User implements Serializable{

	private int userid;
	private String username;
	private String userphotopath;
	private String sex;
	private Date userbirth;
	private Date registertime;
	private String useremail;
	private String userphone;
	private String usersign;
	
	public User(){
		userid = -1;
		username = "";
		userphotopath = "";
		sex = "";
		userbirth = new Date();
		useremail = "";
		userphone = "";
		setUsersign("");
	}

	public int getUserid() {
		return userid;
	}

	public void setUserid(int useid) {
		this.userid = useid;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getUserphotopath() {
		return userphotopath;
	}

	public void setUserphotopath(String userphotopath) {
		this.userphotopath = userphotopath;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Date getUserbirth() {
		return userbirth;
	}

	public void setUserbirth(Date userbirth) {
		this.userbirth = userbirth;
	}

	public String getUseremail() {
		return useremail;
	}

	public void setUseremail(String useremail) {
		this.useremail = useremail;
	}

	public String getUserphone() {
		return userphone;
	}

	public void setUserphone(String userphone) {
		this.userphone = userphone;
	}

	public Date getRegistertime() {
		return registertime;
	}

	public void setRegistertime(Date registertime) {
		this.registertime = registertime;
	}

	public String getUsersign() {
		return usersign;
	}

	public void setUsersign(String usersign) {
		this.usersign = usersign;
	}
}
